package com.xyy.saas.payment.dao.mapper;

import com.xyy.saas.payment.dao.model.AlipaySettings;
import com.xyy.saas.payment.dao.model.SubBankCode;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 支行
 */
@Mapper
public interface SubBankCodeMapper {

    List<SubBankCode> likeByName(@Param("bankName") String bankName, @Param("subBankName") String subBankName, @Param("offset") Integer offset,@Param("limit") Integer limit);

    int batchInsert(@Param("entities") List<SubBankCode> entities);

    SubBankCode queryByCode(String code);

}